package thread;

class MyThread4 extends Thread {
    @Override
    public void run() {
        System.out.println("hello");
    }
}
public class ThreadDemo11 {
    public static void main(String[] args) {
        Thread t = new MyThread4();
        t.start();
        t.run();
    }
}
